Use default VFS, not a local one (it has no network)
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 2 May 2016 14:45:44 +0000 (14:45 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 2 May 2016 14:45:44 +0000 (14:45 +0000)
gtk/gtkplacesview.c

index 19af4ed570215f9bdcdbfc9d28e4cdd908db465a..0bbf66931f8e10f7f9766a56813f725932edda26 100644 (file)
@@ -1009,7 +1009,7 @@ fetch_networks (GtkPlacesView *view)
   gboolean found;
 
   priv = gtk_places_view_get_instance_private (view);
-  supported_uris = g_vfs_get_supported_uri_schemes (g_vfs_get_local ());
+  supported_uris = g_vfs_get_supported_uri_schemes (g_vfs_get_default ());
 
   for (found = FALSE; !found && supported_uris && supported_uris[0]; supported_uris++)
     if (g_strcmp0 (supported_uris[0], "network") == 0)